package com.binguo.service;

import com.binguo.model.mapper.NormalConfigMapper;
import com.binguo.model.model.NormalConfig;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Jason
 * @since 2020-04-30
 */
@Service
public class NormalConfigService {

    @Resource
    private NormalConfigMapper normalConfigMapper;

    public NormalConfig getConfigById(Integer id){
        return normalConfigMapper.selectById(id);
    }

}
